package com.star.domain;

import lombok.*;

import javax.persistence.*;

/**
 * 数据字典
 * 
 * @description 包含数据分析所有字段
 * @author wanglong
 * @date 2017年5月31日
 */

@Table(name = "conf_dictonary")
@Entity
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Dictionary extends AbstractEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Column(name = "name", nullable = false)
	private String name;
	
	@Column(name = "value", nullable = false)
	private String value;
	
	@Column(name = "describle")
	private String describle;
	
	@Enumerated(EnumType.ORDINAL)
	private DictionaryType type;

}
